<%@page import="cn.com.dhcc.app.pub.core.consts.KernelParam"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
pageContext.setAttribute("tlqEnable", KernelParam.tlqTransportPipelineEnable);
%>
<a class="menu-toggler" id="menu-toggler" href="#">
			<span class="menu-text"></span>
		</a>
		<div class="sidebar" id="sidebar"  style="z-index: 999;text-align: left;">
			<div class="sidebar-shortcuts" id="sidebar-shortcuts">
						<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
							<button class="btn btn-info" onclick="closeSound()" title="关闭告警音" id="bell_off" >
								<i class="icon-volume-up "></i>
							</button>

							<button class="btn btn-info" onclick="openSound()" title="打开告警音" id="bell_on" >
								<i class="icon-volume-off"></i>
							</button>
							<a class="btn btn-success"  title="节点注册"  href="${ctx}/registry/node_info_mgr.do">
								<img alt="" src="${ctx}/static/images/nodereg.png" width="20" height="20">
							</a>
							<a class="btn btn-warning"  title="适配器绑定" href="${ctx}/registry/adapter_info_list.do">
								<img alt="" src="${ctx}/static/images/sysreg.png" width="20" height="20">
							</a>
							<a class="btn btn-danger"  title="数据注册"  href="${ctx}/registry/data_category_mgr.do">
								<img alt="" src="${ctx}/static/images/datareg.png" width="20" height="20">
							</a>
							<bgsound id="bgsound" loop="infinite" autostart="true">
						</div>
						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-info"   >
							</span>
							<span class="btn btn-success"   >
							</span>
							<span class="btn btn-warning"></span>
							<span class="btn btn-danger"></span>
						</div>
					</div><!-- #sidebar-shortcuts -->
			<ul class="nav nav-list">
				<li mcode='monitor_ontime'>
					<a href="${ctx}/monitor/ontime.do">
					<i class="icon-dashboard"></i>
					<span class="menu-text"> 实时监控</span>
					</a>
				</li>
				<li >
					<a href="#" class="dropdown-toggle">
						<i class="icon-desktop"></i>
						<span class="menu-text">注册管理</span>
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="submenu">
						<li mcode='node_mgr'>
							<a href="${ctx}/registry/node_info_mgr.do">
							<i class="icon-double-angle-right"></i>
								节点注册
							</a>
						</li>
						<li mcode='domain_mgr'>
							<a href="${ctx}/registry/domain_info_list.do">
							<i class="icon-double-angle-right"></i>
							业务域管理
							</a>
						</li>
						<li mcode='data_category_mgr'>
							<a href="${ctx}/registry/data_category_mgr.do">
							<i class="icon-double-angle-right"></i>
								数据分类注册
							</a>
						</li>
						 <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-double-angle-right"></i>
                                	适配器管理
                                <b class="arrow icon-angle-down"></b>
                            </a>
                            <ul class="submenu">
                                  <li mcode='adapter_mgr'>
									<a href="${ctx}/registry/adapter_base_list.do">
									<i class="icon-circle-arrow-right"></i>
									适配器注册
									</a>
						   			</li>
								 <li mcode='adapter_bind'>
									<a href="${ctx}/registry/adapter_info_list.do">
									<i class="icon-circle-arrow-right"></i>
									适配器绑定
									</a>
								</li>
                            </ul>
                        </li>
						
						<li mcode='exch_rel_mgr'>
							<a href="${ctx}/exch/exch_rel_mgr.do">
							<i class="icon-double-angle-right"></i>
							交换关系注册
							</a>
						</li>
					</ul>
				</li>
				<li >
					<a href="#" class="dropdown-toggle">
						<i class="icon-edit"></i>
						<span class="menu-text">平台基础配置</span>
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="submenu">
						<!-- 
					   <li mcode='priority_conf'>
							<a href="${ctx}/registry/priority_conf_mgr.do">
							<i class="icon-double-angle-right"></i>
								优先级配置
							</a>
						</li>
						 -->
						<li mcode='quota_mgr'>
							<a href="${ctx}/registry/monitor_quota_list.do">
							<i class="icon-double-angle-right"></i>
								告警配置
							</a>
						</li>
					</ul>
				</li>
					<li>
					<a href="#" class="dropdown-toggle">
						<i class="icon-exchange"></i>
						<span class="menu-text">传输通道管理</span>
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="submenu">
						<c:if test="${tlqEnable eq 1 }">
						<li mcode='tonglinkq_mgr'>
							<a href="${ctx}/registry/tlq_qcu.do">
							<i class="icon-double-angle-right"></i>
								消息队列资源分配
							</a>
					   </li>
					   </c:if>
						<li mcode='ftp_mgr'>
							<a href="${ctx}/exch/ftp_mgr.do">
							<i class="icon-double-angle-right"></i>
								FTP资源分配
							</a>
						</li>
						<li mcode='gap_config'>
							<a href="${ctx}/gap/gap_config_list.do">
							<i class="icon-double-angle-right"></i>
								网闸配置
							</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="#" class="dropdown-toggle">
						<i class="icon-eye-open "></i>
						<span class="menu-text">数据交换监控</span>
						<b class="arrow icon-angle-down"></b>
					</a>

					<ul class="submenu">
                          <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-double-angle-right"></i>
                                	结构化数据监控
                                <b class="arrow icon-angle-down"></b>
                            </a>
                            <ul class="submenu">
                               <li mcode='send_cm_data'>
									<a href="${ctx}/monitor/send_cm_data_list.do">
									<i class="icon-circle-arrow-right"></i>
									数据发送监控
									</a>
								</li>
								<li mcode='uncm_struc_monitor_recv'>
									<a href="${ctx}/monitor/recv_cm_data_list.do">
									<i class="icon-circle-arrow-left"></i>
									数据接收监控
									</a>
								</li>
                            </ul>
                        </li>
                        <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-double-angle-right"></i>
                                	非结构化数据监控
                                <b class="arrow icon-angle-down"></b>
                            </a>
                            <ul class="submenu">
                                <li mcode='unstruc_monitor_send'>
                                    <a href="${ctx}/monitor/send_file_data_list.do">
                                        <i class="icon-circle-arrow-right"></i>数据发送监控
                                    </a>
                                </li>
                                <li mcode='unstruc_monitor_recv'>
                                    <a href="${ctx}/monitor/recv_file_data_list.do">
                                        <i class="icon-circle-arrow-left"></i>数据接收监控
                                    </a>
                                </li>
                            </ul>
                        </li>
                        
                        <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-double-angle-right"></i>
                                	内外网数据监控
                                <b class="arrow icon-angle-down"></b>
                            </a>
                            <ul class="submenu">
                                  <li mcode='carved_discs_manage'>
									<a href="${ctx}/monitor/carved_discs_manage_list.do">
									<i class="icon-circle-arrow-right"></i>
									刻盘管理
									</a>
						   			</li>
								 <li mcode='gap_cm_monitor_extranet'>
									<a href="${ctx}/monitor/extranet_cm_data_list.do">
									<i class="icon-circle-arrow-right"></i>
									结构化中转监控
									</a>
								</li>
								 <li mcode='gap_file_monitor_extranet'>
									<a href="${ctx}/monitor/extranet_file_data_list.do">
									<i class="icon-circle-arrow-right"></i>
									非结构化中转监控
									</a>
								</li>
                            </ul>
                        </li>
                        <li mcode='alert_mgr'>
							<a href="${ctx}/exch/alert_list.do">
							<i class="icon-double-angle-right"></i>
								告警管理
							</a>
						</li>
						<li mcode='sync_mgr'>
							<a href="${ctx}/exch/sync_info_list.do">
							<i class="icon-double-angle-right"></i>
								信息同步管理
							</a>
						</li>
					</ul>
				</li>
				<li>
					<a href="#" class="dropdown-toggle">
						<i class="icon-bar-chart"></i>
						<span class="menu-text">综合统计</span>
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="submenu">
						<li mcode='exch_total_static'>
							<a href="${ctx}/stat/exch_total_static.do">
								<i class="icon-double-angle-right"></i>
								本节点交换统计
							</a>
						</li> 
						<li mcode='exch_total_manage'>
							<a href="${ctx}/stat/exch_total_manage.do">
								<i class="icon-double-angle-right"></i>
								管理节点交换统计
							</a>
						</li> 
					</ul>
				</li>
				<li>
					<a href="#" class="dropdown-toggle">
						<i class="icon-cog"></i>
						<span class="menu-text">系统管理</span>
						<b class="arrow icon-angle-down"></b>
					</a>
					<ul class="submenu">
						<li mcode='user_mgr'>
							<a href="${ctx}/usermgr/user_list.do">
							<i class="icon-double-angle-right"></i>
							用户管理
							</a>
						</li>
						<li mcode='user_mgr1'>
							<a href="${ctx}/pub/logmgr/list.do">
							<i class="icon-double-angle-right"></i>
							日志管理
							</a>
						</li>
						<li mcode='task_mont'>
							<a href="${ctx}/taskmont/task_list.do">
							<i class="icon-double-angle-right"></i>
							定时任务监控
							</a>
						</li>
					</ul>
				</li>
			</ul>
			<div class="sidebar-collapse" id="sidebar-collapse">
				<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
			</div>
		</div>
